package org.shanktech.tshare.binlogsync.model.api;

import java.io.Serializable;
import java.util.List;

public class StartRequestParam implements Serializable {

  private static final long serialVersionUID = 1L;

  private int port;

  private String host;

  private String user;

  private String password;

  private int serverId;

  private String binlogFileName;

  private long binlogPosition;

  private List<String> databases;

  private List<String> tables;

  public int getPort() {
    return port;
  }

  public void setPort(int port) {
    this.port = port;
  }

  public String getHost() {
    return host;
  }

  public void setHost(String host) {
    this.host = host;
  }

  public String getUser() {
    return user;
  }

  public void setUser(String user) {
    this.user = user;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public int getServerId() {
    return serverId;
  }

  public void setServerId(int serverId) {
    this.serverId = serverId;
  }

  public String getBinlogFileName() {
    return binlogFileName;
  }

  public void setBinlogFileName(String binlogFileName) {
    this.binlogFileName = binlogFileName;
  }

  public long getBinlogPosition() {
    return binlogPosition;
  }

  public void setBinlogPosition(long binlogPosition) {
    this.binlogPosition = binlogPosition;
  }

  public static long getSerialversionuid() {
    return serialVersionUID;
  }

  public List<String> getDatabases() {
    return databases;
  }

  public void setDatabases(List<String> databases) {
    this.databases = databases;
  }

  public List<String> getTables() {
    return tables;
  }

  public void setTables(List<String> tables) {
    this.tables = tables;
  }

}
